<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Chameleon-Mini: LED functionality</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Chameleon-Mini
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">LED functionality </div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>The Chameleon-Mini has two fully configurable LEDs: one red LED and one green LED. The configuration is done with the commands <code>LEDRED</code> and <code>LEDGREEN</code>, which both can be called as the getting ("?"), setting ("=") and suggesting ("=?") version.</p>
<p>The following table shows which LED functions are currently available. </p><table class="doxtable">
<tr>
<th>Function name </th><th>Description  </th></tr>
<tr>
<td><code>NONE</code> </td><td>No function, the LED is deactivated. </td></tr>
<tr>
<td><code>POWERED</code> </td><td>The LED lights up if the Chameleon-Mini is powered, regardless whether powered by USB or by battery. </td></tr>
<tr>
<td><code>TERMINAL_CONN</code> </td><td>The LED is turned on when the Chameleon-Mini is connected via USB and is turned off when no USB connection is established. </td></tr>
<tr>
<td><code>TERMINAL_RXTX</code> </td><td>The according LED blinks shortly when sending or receiving data via the USB interface. </td></tr>
<tr>
<td><code>SETTING_CHANGE</code> </td><td>The LED blinks one time if the new setting is setting 1, two times for setting 2, ..., eight times for setting 8. </td></tr>
<tr>
<td><code>MEMORY_STORED</code> </td><td>The LED flashes everytime when a setting is stored to the permanent flash. This is currently the case when calling the command <code>STORE</code>, the button event <code>STORE_MEM</code> occurs or the setting is changed. </td></tr>
<tr>
<td><code>MEMORY_CHANGED</code> </td><td>The LED turns on when the FRAM is changed and is turned off when the currently active setting is written to the permanent flash. Thus, this function indicates when the current setting is changed. </td></tr>
<tr>
<td><code>CODEC_RX</code> </td><td>The LED flashes when the currently active codec (e.g. ISO14443A emulation) receives data. Note that this is implemented on codec layer and the flashing is triggered before the received data are interpreted by the application. </td></tr>
<tr>
<td><code>CODEC_TX</code> </td><td>The LED flashes when the currently active codec sends data. This function also is implemented on codec layer. </td></tr>
<tr>
<td><code>FIELD_DETECTED</code> </td><td>The LED is turned on if and only if a reader field is detected, which is recognized by the RSSI module (when the RSSI value hits a hardcoded threshold, it is assumed that there is a reader field). It is irrelevant whether the field comes from another reader or from the Chameleon-Mini itself. </td></tr>
<tr>
<td><code>LOGMEM_FULL</code> </td><td>Lights up the LED, if the SRAM log memory is full. </td></tr>
</table>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Jan 24 2020 14:46:30 for Chameleon-Mini by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
